$bgColor: #f5f5f5;
$fontColor: #24454c;
$mainColor: #69c0d1;
$mainColor2: #24454c;
$tabFontColor: #69c0d1;
$tabColor: #f3f3f3;
$tabColorActive: #69c0d1;
@font-face {
    font-family: "iconfont";
    src: url('../fonts/iconfont.ttf') format('truetype');
    /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
}
@font-face {
    font-family: "iconfont";
    src: url('../fonts/iconfont.ttf') format('truetype');
    /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
}
.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
}
.icon-money:before {
    content: "\e60c";
}
.icon-money1:before {
    content: "\e60b";
}
.icon-setting:before {
    content: "\e665";
}
.icon-user:before {
    content: "\e703";
}
.icon-about:before {
    content: "\e6d9";
}
.icon-password:before {
    content: "\e648";
}
.icon-sync:before {
    content: "\e68f";
}
/* Function */
.f-mask {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.2);
}
.f-tac {
    text-align: center;
}
.f-tar {
    text-align: right;
}
/* Unit */
.u-in {
    color: #669900;
}
.u-out {
    color: #FF3300;
}
/* Icon */
.mui-icon-extra-people,
.mui-icon-extra-trend {
    &:before {
        font-weight: bold;
    }
}
.u-icon {
    background-image: url("../img/sprite.png");
}
.u-icon-money {
    background-position: 0 0;
}
.u-icon-user {
    background-position: 0 -50px;
}
.u-icon-setup {
    background-position: -92px 0;
}
.u-icon-about {
    background-position: -134px -42px;
}
.u-icon-class {
    background-image: url("../img/class-sprite.png");
    background-repeat: no-repeat;
}
.u-icon-class-wage {
    background-position: 0 0;
}
.u-icon-class-traffic {
    background-position: -42px 0;
}
.u-icon-class-home {
    background-position: 0 -42px;
}
.u-icon-class-food {
    background-position: -42px -42px;
}
.u-icon-class-entertainment {
    background-position: -84px 0;
}
.u-icon-class-other0 {
    background-position: -84px 0;
}
.u-icon-class-communication {
    background-position: -84px -42px;
}
.u-icon-class-clothing {
    background-position: 0 -84px;
}
/* Title */
h1,
h2,
h3,
h4,
h5,
h6,
.mui-h1,
.mui-h2,
.mui-h3,
.mui-h4,
.mui-h5,
.mui-h6 {
    font-weight: normal;
}
.mui-h3,
h3 {
    font-size: 24px;
}
.mui-h4,
h4 {
    margin: 0;
    line-height: 21px;
    font-size: 16px;
    color: $fontColor;
}
/* Bar(nav, tab) */
.mui-bar {
    box-shadow: none;
    .mui-btn-link {
        color: #fff;
    }
}
.mui-bar.mui-bar-nav {
    background-color: $mainColor;
}
/* Nav */
.mui-bar-nav {
    .mui-title {
        color: #fff;
    }
    a {
        color: #fff;
    }
}
/* Tab */
.mui-bar-tab {
    background-color: $tabColor;
}
.mui-bar-tab .mui-tab-item.mui-active {
    color: $tabColor;
}
.m-index {
    background-color: $tabColor;
}
/* List */
.mui-table-view-divider {
    color: $fontColor;
    background-color: #efeff4;
    h3 {
        display: inline-block;
    }
}
.mui-table-view {
    .mui-table-view-cell {
        i {
            display: inline-block;
            width: 42px;
        }
        p {
            width: 200px;
        }
    }
    &:after {
        background: none;
    }
    &:before {
        background: none;
    }
    .mui-table-view-divider {
        color: $fontColor;
    }
    .mui-table-view-divider:before {
        background: none;
    }
}
/* Scroll */
.mui-scroll-wrapper {
    top: 44px;
}
/* Block button */
.mui-btn-block {
    width: 95%;
    height: 50px;
    margin: 10px auto 0;
    border-radius: 8px;
    line-height: 0;
    font-size: 24px;
    &.mui-btn-blue {
        border-color: $mainColor;
        background-color: $mainColor;
    }
}
.mui-btn.mui-btn-grey {
    width: 95%;
    height: 50px;
    margin: 10px auto 0;
    border-radius: 8px;
    line-height: 0;
    font-size: 20px;
}
/* index Module */
.m-index {
    .mui-bar-tab {
        //beta2
        .mui-tab-item {
            color: $tabFontColor;
        }
        .mui-tab-item.mui-active {
            color: #fff;
        }
        .mui-tab-item {
            background-color: $tabColor;
        }
        .mui-tab-item.mui-active {
            background-color: $tabColorActive;
        }
    }
}
/* Home Module */
.m-home {
    .mui-slider {
        width: 100%;
        height: 282px;
        img {
            height: 282px;
        }
        .m-display {
            position: absolute;
            bottom: 0;
            margin: 15px;
            div {
                float: left;
                margin-right: 20px;
                h3,
                span {
                    color: #fff;
                    font-weight: normal;
                }
                span {
                    font-size: 16px;
                }
            }
        }
    }
    %m-info-div {
        display: flex;
        align-items: center;
        width: 100%;
        height: 80px;
        border-bottom: 1px solid #ccc;
    }
    %border {
        position: absolute;
        right: 0;
        left: 0;
        height: 1px;
        content: '';
        -webkit-transform: scaleY(.5);
        transform: scaleY(.5);
        background-color: #c8c7cc;
    }
    .m-info {
        position: relative;
        margin: 10px 0;
        padding: 0 10px;
        background-color: #FFF;
        &::before,
        &::after {
            @extend %border;
        }
        &::before {
            top: 0;
        }
        &::after {
            bottom: 0;
        }
        i,
        h3 {
            flex: 0.5;
            color: $fontColor;
            font-size: 24px;
        }
        i {
            width: 50px;
            max-width: 50px;
            height: 50px;
            margin: 0 2px 0 30px;
            line-height: 50px;
            font-size: 35px;
        }
        div {
            flex: 1;
        };
        .m-info-today {
            @extend %m-info-div;
        }
        .m-info-month {
            @extend %m-info-div;
            border: none;
        }
        .m-info-wrap {
            width: 200px;
            max-width: 200px;
            height: 60px;
            div {
                box-sizing: border-box;
                height: 30px;
                padding: 5px 10px;
            }
            span {
                float: right;
                line-height: 20px;
            }
        }
    }
}
.m-billPanel,
.m-userPanel {
    height: 216px;
    background-color: $mainColor;
}
/* Bill Module */
.m-bill {
    background-color: $bgColor;
    .u-baseColor{
        position: absolute;
        width: 100%;
        height: 300px;
        background-color: $mainColor;
    }
    .mui-scroll{
        background-color: $bgColor;
    }
    .mui-icon.mui-icon-loop.mui-pull-right {
        font-weight: bold;
    }
    .m-billPanel {
        display: flex;
        align-items: center;
        padding: 30px;
        >div {
            flex: 1;
        }
        label,
        .u-in,
        .u-out,
        h3 {
            display: block;
            margin: 10px 0;
            color: #fff;
        }
        label {
            font-size: 16px;
        }
        .u-in,
        .u-out {
            font-size: 20px;
        }
        .m-surplus {
            label {
                font-size: 20px;
            }
            h3 {
                font-size: 30px;
            }
        }
    }
    .listNull {
        width: 100%;
        height: 400px;
        background-color: $bgColor;
        h1 {
            line-height: 200px;
            text-align: center;
            font-size: 24px;
            color: $fontColor;
        };
    }
    .m-billList {
        background-color: $bgColor;
        min-height: 500px;
        .mui-table-view {
            &:before {
                position: absolute;
                right: 0;
                left: 0;
                height: 1px;
                content: '';
                -webkit-transform: scaleY(.5);
                transform: scaleY(.5);
                background-color: #c8c7cc;
                top: -1px;
            }
            &:after {
                position: absolute;
                right: 0;
                left: 0;
                height: 1px;
                content: '';
                -webkit-transform: scaleY(.5);
                transform: scaleY(.5);
                background-color: #c8c7cc;
                top: -1px;
            }
        }
        .monthItem {}
        .dateList {
            display: flex;
            .dateItem {
                width: 20%;
                min-height: 64px;
                padding: 10px 20px;
                background-color: $bgColor;
                .date,
                .day {
                    display: block;
                    color: $fontColor;
                }
                .date {
                    font-size: 20px;
                }
                .day {
                    font-size: 14px;
                }
            }
            .oneList {
                flex: 1;
                width: 80%;
                .one {
                    height: 64px;
                    padding: 0;
                    background-color: #fff;
                    .mui-slider-handle a {
                        height: 64px;
                        display: block;
                        padding: 10px;
                    }
                }
                h4,
                span {
                    display: inline-block;
                    font-size: 16px;
                }
                span {
                    float: right;
                }
            }
        }
    }
}
/* User Module */
.m-userPanel {
    .u-picture {
        padding: 10px;
        img {
            display: block;
            width: 120px;
            height: 120px;
            margin: auto;
            border-radius: 50%;
            background-color: $bgColor;
        }
    }
    .box-login {
        text-align: center;
        padding-top: 15px;
        h4 {
            padding-bottom: 10px;
            color: #fff;
        }
        .mui-btn-grey {
            width: 25%;
            height: 30px;
            line-height: 0;
            margin: 0 10px;
            border-color: #fff;
            background-color: #fff;
            color: $mainColor;
            font-size: 16px;
        }
    }
}
.m-userList {
    .iconfont {
        font-size: 25px;
        color: #666;
    }
    h4 {
        line-height: 42px;
        color: $fontColor;
    }
}
/* Record Module */
.m-record {
    background-color: $bgColor;
    .mui-slider {
        height: auto;
        background-color: $bgColor;
        .mui-slider-indicator.mui-segmented-control {}
        .mui-segmented-control.mui-segmented-control-inverted {
            background-color: $mainColor;
            .mui-control-item,
            .mui-control-item.mui-active {
                color: #FFFFFF;
            }
        }
        .mui-segmented-control.mui-segmented-control-inverted~.mui-slider-progress-bar {
            height: 4px;
            background-color: $mainColor2;
        }
        .mui-segmented-control.mui-segmented-control-inverted~.mui-slider-group .mui-slider-item {
            border-bottom: none;
            padding: 0 10px;
        }
        .mui-slider-item.mui-control-content {
            background-color: $bgColor;
        }
        .mui-slider-group {
            background-color: $bgColor;
            label {
                display: block;
                padding: 10px 20px 0;
                font-size: 16px;
                line-height: 16px;
                color: #888;
            }
            .select {
                .mui-btn.mui-btn-block {
                    color: $fontColor;
                }
            }
            .mui-input-row {
                border-bottom: 1px solid #CCCCCC;
                label,
                input {
                    display: block;
                    width: 100%;
                }
                label {
                    padding: 10px 20px 0;
                    font-size: 16px;
                }
                input {
                    height: 60px;
                    padding: 10px 20px;
                    line-height: 40px;
                    font-size: 20px;
                    color: $fontColor;
                }
                .u-money {
                    font-size: 30px;
                }
                .u-date {
                    font-size: 20px;
                }
            }
            .select {
                border-bottom: 1px solid #CCCCCC;
            }
            select.mui-btn.mui-btn-block {
                position: relative;
                height: 60px;
                padding: 10px 20px;
                margin: 0;
                background: none;
                font-size: 20px;
                line-height: 40px;
                option {
                    font-size: 16px;
                }
            }
        }
    }
}
/* Edit Module */
.m-edit {
    background-color: $bgColor;
    .mui-icon-closeempty:before {
        content: '\e460';
        font-size: 30px;
        font-weight: bold;
    }
    .mui-slider {
        height: auto;
        background-color: $bgColor;
        .mui-slider-indicator.mui-segmented-control {}
        .mui-segmented-control.mui-segmented-control-inverted {
            background-color: $mainColor;
            .mui-control-item,
            .mui-control-item.mui-active {
                color: #FFFFFF;
            }
        }
        .mui-segmented-control.mui-segmented-control-inverted~.mui-slider-progress-bar {
            height: 4px;
            background-color: $mainColor2;
        }
        .mui-segmented-control.mui-segmented-control-inverted~.mui-slider-group .mui-slider-item {
            border-bottom: none;
            padding: 0 10px;
        }
        .mui-slider-item.mui-control-content {
            background-color: $bgColor;
        }
        .mui-slider-group {
            background-color: $bgColor;
            label {
                display: block;
                padding: 10px 20px 0;
                font-size: 16px;
                line-height: 16px;
                color: #888;
            }
            .select {
                .mui-btn.mui-btn-block {
                    color: $fontColor;
                }
            }
            .mui-input-row {
                border-bottom: 1px solid #CCCCCC;
                label,
                input {
                    display: block;
                    width: 100%;
                }
                label {
                    padding: 10px 20px 0;
                    font-size: 16px;
                }
                input {
                    height: 60px;
                    padding: 10px 20px;
                    line-height: 40px;
                    font-size: 20px;
                    color: $fontColor;
                }
                .u-money {
                    font-size: 30px;
                }
                .u-date {
                    font-size: 20px;
                }
            }
            .select {
                border-bottom: 1px solid #CCCCCC;
            }
            select.mui-btn.mui-btn-block {
                position: relative;
                height: 60px;
                padding: 10px 20px;
                margin: 0;
                background: none;
                font-size: 20px;
                line-height: 40px;
                option {
                    font-size: 16px;
                }
            }
        }
    }
}
.m-public {
    background-color: $bgColor;
}
/* About Module */
.m-about {
    color: #666;
    background-color: $bgColor;
    .mui-scroll-wrapper {
        top: 0;
        background-color: $bgColor;
    }
    .mui-scroll {}
    .m-appInfo {
        text-align: center;
        >div {
            height: 0.1px;
        }
        img {
            display: block;
            margin: 20px auto;
            border-radius: 20px;
        }
        h3 {
            color: #333;
            font-weight: bold;
        }
        span {
            display: block;
            margin-top: 10px;
            font-size: 15px;
        }
    }
    .m-dev {
        margin: 20px;
        h3 {
            font-size: 20px;
            margin: 10px 0;
        }
        a {
            display: block;
            text-indent: 1em;
            font-size: 14px;
            text-decoration: underline;
        }
        .u-pP {
            margin-bottom: 15px;
        }
        .u-team {
            margin-bottom: 15px;
            h4,
            span {
                display: inline-block;
                text-indent: 1em;
            }
            h4 {
                width: 170px;
            }
            p {
                padding: 5px 15px;
            }
        }
    }
}
/* Popup */
.mui-popup {
    color: #333;
    .mui-popup-button.mui-popup-button-bold {
        font-weight: normal;
    }
}
.mui-bar-nav {
    box-sizing: content-box;
}
/* Login or Register Module */
.m-login,
.m-register {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    .m-logo {
        padding: 20px;
        img {
            display: block;
            margin: auto;
            border-radius: 20px;
        }
    }
    .area {
        margin: 20px auto 0;
    }
    .mui-input-group {
        width: 90%;
        margin: 20px auto; //      border-radius: 10px;
    }
    .mui-input-group:first-child {
        margin-top: 20px;
    }
    .mui-checkbox input[type=checkbox],
    .mui-radio input[type=radio] {
        top: 6px;
    }
    .mui-content-padded {
        margin-top: 25px;
    }
    .mui-btn {
        padding: 10px;
    }
    .link-area {
        display: block;
        margin-top: 25px;
        text-align: center;
    }
    .spliter {
        color: #bbb;
        padding: 0 8px;
    }
    //<a> reg
    #regBtn {
        color: $mainColor2;
    }
    //regSub
    .mui-btn.mui-btn-block.mui-btn-red {
        background-color: #E57B85;
        border-color: #E57B85;
        font-size: 20px;
    }
    .mui-btn-block.mui-btn-blue {
        font-size: 20px;
    }
}
/* Setting Module */
.m-setting {
    .mui-btn.mui-btn-red.mui-btn-block {
        margin-top: 30px;
        font-size: 20px;
    }
}
/* Chart Module */
.m-chart {
    background-color: $bgColor;
    .mui-scroll-wrapper {
        background-color: $bgColor;
        .chart {
            margin-bottom: 50px;
        }
        .mui-content-padded {
            height: 40px;
            text-align: center;
            margin: 0 0 20px;
            background-color: #fff;
            .mui-pagination {
                display: block;
                li a {
                    color: $mainColor2;
                    height: 40px;
                    text-align: center;
                    padding: 0 10px;
                    border: none;
                    border-radius: 0;
                    line-height: 40px;
                    font-size: 18px;
                    color: $mainColor2;
                }
                .mui-previous a {
                    margin-left: 20px;
                }
                .dateDisplay a {
                    width: 100px;
                }
                .chartType {
                    position: relative;
                    float: right;
                    a {
                        margin-right: 20px;
                        font-size: 16px;
                    }
                }
                #j-typeSelector {
                    position: absolute;
                    top: 40px;
                    right: 0;
                    z-index: 900;
                    width: 140px;
                    height: 80px;
                    background-color: #fff;
                    color: $mainColor2;
                    label {
                        font-size: 16px;
                    }
                }
                .mui-checkbox input[type=checkbox],
                .mui-radio input[type=radio] {
                    top: 8px;
                    right: 30px;
                    width: 20px;
                    height: 20px;
                }
                .mui-radio input[type=radio]:before {
                    width: 20px;
                    height: 20px;
                    font-size: 20px;
                }
                .mui-checkbox input[type=checkbox]:checked:before,
                .mui-radio input[type=radio]:checked:before {
                    //                  font-size: 20px;
                    color: $mainColor2;
                }
            }
        }
        .mui-icon-down:after {
            content: '\e581';
        }
        .mui-icon-up:after {
            content: '\e580';
        }
    }
}